package vo;

import java.sql.Date;

public class Comment extends PetObject {


    private String cid;
    private String uid;
    private Date cDate;
    private String cMsg;

    public Comment() {
    }

    public Comment(String cid, String uid, String cMsg) {
        this.cid = cid;
        this.uid = uid;
        this.cMsg = cMsg;
    }

    public Comment(Comment comment) {
        this.cid = comment.getCid();
        this.uid = comment.getUid();
        this.cDate = comment.getcDate();
        this.cMsg = comment.getcMsg();
    }


    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Date getcDate() {
        return cDate;
    }

    public void setcDate(Date cDate) {
        this.cDate = cDate;
    }

    public String getcMsg() {
        return cMsg;
    }

    public void setcMsg(String cMsg) {
        this.cMsg = cMsg;
    }

    @Override
    public String toString() {
        return "comment{" +
                "cid='" + cid + '\'' +
                ", uid='" + uid + '\'' +
                ", cDate='" + cDate + '\'' +
                ", cMsg='" + cMsg + '\'' +
                '}';
    }
}
